package cn.dlc.com.system.user.entity;

import cn.dlc.com.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @Author: dlc
 * @Date: 2021/11/19 - 9:31
 */
@Data
@TableName("sys_user")
@ApiModel("账号信息响应")
public class UserEntity extends BaseEntity {

    @TableId("sys_user_id")
    @ApiModelProperty(value = "主键", position = 0)
    private Integer sysUserId;

    @ApiModelProperty(value = "人员信息", position = 1)
    private String personId;

    @ApiModelProperty(value = "真实姓名", position = 2)
    private String personName;

    @ApiModelProperty(value = "用户名", position = 3)
    private String username;

    @ApiModelProperty(value = "密码", hidden = true)
    private String password;

    @ApiModelProperty(value = "盐", hidden = true)
    private String salt;

    @ApiModelProperty(value = "查询是否显示：【0正常，1不显示】", position = 4)
    private Integer isShow;

    @ApiModelProperty(value = "排序", position = 5)
    private Integer sort;

}
